﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;


namespace DataTier.Entities
{
    /// <summary>
    /// Композитный тип данных, возвращающий объединенный объект Расходная накладная
    /// </summary>
    [Serializable]
    public class ExpendBillEntity
    {
        ExpendBill expendBill;
        List<ExpendBillSpec> specification;
        OrderEntity order;
        OrderFullInfoEntity orderFullInfo;
        State state;
        int expendBillId;
        int orderId;

        
        public ExpendBill ExpendBill
        {
            get { return expendBill; }
            set { expendBill = value; }
        }

        
        public List<ExpendBillSpec> Specification
        {
            get { return specification; }
            set { specification = value; }
        }

        
        public OrderEntity Order
        {
            get { return order; }
            set { order = value; }
        }

        
        public OrderFullInfoEntity OrderFullInfo
        {
            get { return orderFullInfo; }
            set { orderFullInfo = value; }
        }

        
        public State State
        {
            get { return state; }
            set { state = value; }
        }

        
        public int ExpendBillId
        {
            get { return expendBillId; }
            set { expendBillId = value; }
        }

        
        public int OrderId
        {
            get { return orderId; }
            set { orderId = value; }
        }

    }
}
